package com.ruoyi.system.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**

 * @description
 */
@ApiModel("用户授权信息")
@Data
public class UserGrantDto {

    private String openid;
    @ApiModelProperty("用户是否需要授权获取手机号, true代表需要，false代表不需要")
    private Boolean isNeedGrantPhone;

    public UserGrantDto(String openid, Boolean isNeedGrantPhone) {
        this.openid = openid;
        this.isNeedGrantPhone = isNeedGrantPhone;
    }
}
